<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<table>
  <tr>
    <th>Name</th>
    <th>Code</th>
    <th>Description</th>
   </tr>
   <tr>
     <td><%=@category.name%></td>
     <td><%=@category.code%></td>
     <td><%=@category.description%></td>
   </tr>
   <%= link_to 'Products Detail', :action => 'cate_products', :id => @category %>
</table>